<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>康纳天花系统后台</title>
<link href="/css/bootstrap.min.css" rel="stylesheet" type="text/css">
<link href="/css/admins/base.css" rel="stylesheet" type="text/css">
<link href="/css/plugs/jDatepicker/jDatepicker-min.css"  rel="stylesheet"  /> 
<script src="/js/plugs/jquery.js"></script>
<script src="/js/admins/base.js"></script>
<script src="/js/plugs/jDatepicker/jDatepicker-min.js"></script>
<script src="/js/admins/salesman_manage.js"></script>
<style type="text/css" >
.add-form {
	width:100%;
}
.add-form input.form-control{
	width:30em;
}
</style>
</head>

<body>

<!-- nav start-->
{# include file="$tpl_root_path/admins/base/navbar.html" #}
<!-- nav end -->    
    
    
    
    
<div class="container-fluid">
    
      <div class="row">
      
    <!-- left  box start-->     
       {# include file="$tpl_root_path/admins/base/left_menu.html" #}
    <!-- left  box end-->        
 
  <!-- right  box start-->  
         
     <div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main right-box">
          
          <div class="menu-navbar">{#$menu_navbar#}</div>
          <h3 class="page-header">账号编辑 </h3>

         
    
          <div class="info-list-box">
            
              <form method="post" action="">
                  
                  <div class="add-form  form-horizontal">
                
                    <div class="form-group">
                      <label for="username" class="col-sm-2 control-label">姓名<span class="must-fill">*</span></label>
                      <div class="col-sm-10">
                        <input class="form-control" value="{#$info.USERNAME#}" name="username"  placeholder="姓名" type="text" size="30">
                      </div>
                    </div>
                    
                    <div class="form-group">
                      <label for="pwd" class="col-sm-2 control-label">管理员密码<span class="must-fill">*</span></label>
                      <div class="col-sm-10">
                        <input class="form-control"  placeholder="密码" type="password" name="pwd">
                      </div>
                    </div>
                      
                    <div class="form-group">
                      <label for="repwd" class="col-sm-2 control-label">确认密码<span class="must-fill">*</span></label>
                      <div class="col-sm-10">
                        <input class="form-control"  placeholder="确认密码" type="password" name="repwd">
                      </div>
                    </div>
                      
                    <div class="form-group">
                      <label for="name" class="col-sm-2 control-label">描述<span class="must-fill">*</span></label>
                      <div class="col-sm-10">
                        <input class="form-control" value="{#$info.NAME#}"  placeholder="描述" type="text" name="name">
                      </div>
                    </div>
                      
                    <div class="form-group">
                      <label for="state" class="col-sm-2 control-label">状态<span class="must-fill">*</span></label>
                      <div class="col-sm-10">
                        <input class=""  type="radio" {#if $info.STATE eq 1#} checked {#/if#} name="state" value="1">正常
                          <input class=""  type="radio" name="state" {#if $info.STATE neq 1#} checked {#/if#} value="0">停用
                      </div>
                    </div>
                      
                </div>
                  
                  
              <table class="table table-hover">

                <tr>
                {#foreach key=key item=item from=$menuParentList#}
                 {#if $key%3 eq 0#}
                </tr>

                    <tr>
                 {#/if#}
                    <td valign="top">
                      <table width="200">
                        <tr>
                          <td  height="22" colspan="2" class="t6">＋ {#$item.MENUNAME#}</td>
                          
                        </tr>
                        {#foreach key=keyc item=itemc from=$menuChildList[$item.MENUID]#}
                        <tr>
                          <td width="18">&nbsp;</td>
                          <td width="185"> -> {#$itemc.MENUNAME#}</td>
                          <td width="90">
                            <input type="checkbox" id="check[{#$item.MENUID#}][]" name="check[]" value="{#$itemc.MENUID#}" class="input01"  {#if $itemc.MENUNAME eq '修改密码' or $itemc.MENUNAME eq '退出系统'#} checked readonly {#else#} {#if $menuArr[$itemc.MENUID]#}checked{#/if#}{#/if#}>
                          </td>
                        </tr>
                        {#/foreach#}
                    </table>
                </td>
                {#/foreach#}
                 </tr>

          </table>
                  
                  <div class="form-group">
                      <div class="col-sm-offset-2 col-sm-10">
                          <input type="hidden" value="{#$info.ID#}"  name="id"/>
                        <button type="submit" class="btn btn-success">保&nbsp;&nbsp;存</button>

                      </div>
                    </div>
                  
            </form>
      </div>
          
         

          
     </div>
 
  <!-- right  box end-->         
        
      </div>
</div>



</body>
</html>
